package com.abkj.platform.tail.domain;

import com.abkj.platform.base.dao.SpecialTable;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

@SpecialTable(table = "level")
public class Level implements Serializable {
	private static final long serialVersionUID = -4253877477974644653L;
	private Integer id;
	private String code;
	private String name;
	private String pxy;
	private float val;
	private float offer;
	private float should;
	private int state;
	private int num;
	private int type;
	private int info;
	private float init;
	private float alertup;
	private float alertdown;

	public int getInfo() {
		return this.info;
	}

	public void setInfo(int info) {
		this.info = info;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPxy() {
		return this.pxy;
	}

	public void setPxy(String pxy) {
		this.pxy = pxy;
	}

	public float getVal() {
		return this.val;
	}

	public void setVal(float val) {
		this.val = val;
	}

	public int getState() {
		return this.state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getNum() {
		return this.num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int hashCode() {
		return super.hashCode();
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	public float getOffer() {
		return this.offer;
	}

	public void setOffer(float offer) {
		this.offer = offer;
	}

	public float getShould() {
		return this.should;
	}

	public void setShould(float should) {
		this.should = should;
	}

	public float getInit() {
		return this.init;
	}

	public void setInit(float init) {
		this.init = init;
	}
	
	public float getAlertup() {
		return alertup;
	}

	public void setAlertup(float alertup) {
		this.alertup = alertup;
	}

	public float getAlertdown() {
		return alertdown;
	}

	public void setAlertdown(float alertdown) {
		this.alertdown = alertdown;
	}
}